home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
tcltk.z
/
tcltk
/
man
/
cat3
/
MapWindow.3
< prev
next >
Wrap
Text File
|
1994-09-20
|
2KB
|
67 lines
Tk_MapWindow(3) Tk Library Procedures
_________________________________________________________________
NAME
Tk_MapWindow, Tk_UnmapWindow - map or unmap a window
SYNOPSIS
#include <tk.h>
Tk_Window
Tk_MapWindow(_t_k_w_i_n)
Tk_UnmapWindow(_t_k_w_i_n)
ARGUMENTS
Tk_Window _t_k_w_i_n (in) Token for window.
_________________________________________________________________
DESCRIPTION
These procedures may be used to map and unmap windows
managed by Tk. Tk_MapWindow maps the window given by _t_k_w_i_n,
and also creates an X window corresponding to _t_k_w_i_n if it
doesn't already exist. See the Tk_CreateMainWindow manual
entry for information on deferred window creation.
Tk_UnmapWindow unmaps _t_k_w_i_n's window from the screen.
If _t_k_w_i_n is a child window (i.e. Tk_CreateChildWindow was
used to create it), then event handlers interested in map
and unmap events are invoked immediately. If _t_k_w_i_n isn't an
internal window, then the event handlers will be invoked
later, after X has seen the request and returned an event
for it.
These procedures should be used in place of the X procedures
XMapWindow and XUnmapWindow, since they update Tk's local
data structure for _t_k_w_i_n. Applications using Tk should not
invoke XMapWindow and XUnmapWindow directly.
KEYWORDS
map, unmap, window
Tk 1